package com.ss.common;

public class ClassPath {

	private String calssPath;

	private String className;

	
	public ClassPath(String calssPath, String className) {
		super();
		this.calssPath = calssPath;
		this.className = className;
	}

	public String getCalssPath() {
		return calssPath;
	}

	public void setCalssPath(String calssPath) {
		this.calssPath = calssPath;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	@Override
	public String toString() {
		return this.calssPath+"."+this.className;
	}

	@Override
	public boolean equals(Object obj) {
		if(this.toString().equals(obj.toString())){
			return true;
		}else{
			return false;
		}
	}
	
	@Override
	public int hashCode() {
		return this.calssPath.hashCode()+this.className.hashCode();
	}
	
	
}
